#!/usr/bin/python
import sys, random
alternatives = "heads tails".split()
if len(sys.argv) > 1: 
    alternatives = sys.argv[1:]
print random.choice(alternatives)
